package com.mairuide.bill.methodsanalysis.bszjzy.pojo;

import com.mairuide._frame.utils.excel.annotation.ExcelAttribute;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-06-03 14:29
 * 伴随资金转移
 */
public class BszizyEntity_YH implements Serializable {
    //交易主体
    @ExcelAttribute(name = "交易主体",sort = 0)
    private String ACCOUNT_BODY;
    //交易主体卡号
    private String ACCOUNT_BODY_CARD;
    //交易对手卡号
    private String ACCOUNT_RIVAL_CARD;
    //交易对手
    private String ACCOUNT_RIVAL;
    //伴随转移次数
    private Integer COUNT;
    //交易对手的次数
    private Integer RIVAL_COUNT;
    //收付标志
    private Integer SIGN;
    //伴随转移卡号
    private String ACCOUNT_RIVAL_CARD2;
    //伴随转移账户户名
    private String ACCOUNT_RIVAL2;
    //交易对手的个数
    private Integer c;
    //最小交易时间
    private Timestamp minTime;
    //最大交易时间
    private Timestamp maxTime;
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof BszizyEntity_YH)) return false;

        BszizyEntity_YH that = (BszizyEntity_YH) o;

        if (!ACCOUNT_BODY.equals(that.ACCOUNT_BODY)) return false;
        if (!ACCOUNT_BODY_CARD.equals(that.ACCOUNT_BODY_CARD)) return false;
        if (!ACCOUNT_RIVAL_CARD.equals(that.ACCOUNT_RIVAL_CARD)) return false;
        if (!ACCOUNT_RIVAL.equals(that.ACCOUNT_RIVAL)) return false;
        if (!SIGN.equals(that.SIGN)) return false;
        if (!ACCOUNT_RIVAL_CARD2.equals(that.ACCOUNT_RIVAL_CARD2)) return false;
        return ACCOUNT_RIVAL2.equals(that.ACCOUNT_RIVAL2);
    }

    @Override
    public int hashCode() {
        int result = ACCOUNT_BODY.hashCode();
        result = 31 * result + ACCOUNT_BODY_CARD.hashCode();
        result = 31 * result + ACCOUNT_RIVAL_CARD.hashCode();
        result = 31 * result + ACCOUNT_RIVAL.hashCode();
        result = 31 * result + SIGN.hashCode();
        result = 31 * result + ACCOUNT_RIVAL_CARD2.hashCode();
        result = 31 * result + ACCOUNT_RIVAL2.hashCode();
        return result;
    }

    @Override
    public String toString() {
        return "BszizyEntity_YH{" +
                "ACCOUNT_BODY='" + ACCOUNT_BODY + '\'' +
                ", ACCOUNT_BODY_CARD='" + ACCOUNT_BODY_CARD + '\'' +
                ", ACCOUNT_RIVAL_CARD='" + ACCOUNT_RIVAL_CARD + '\'' +
                ", ACCOUNT_RIVAL='" + ACCOUNT_RIVAL + '\'' +
                ", COUNT=" + COUNT +
                ", SIGN=" + SIGN +
                ", ACCOUNT_RIVAL_CARD2='" + ACCOUNT_RIVAL_CARD2 + '\'' +
                ", ACCOUNT_RIVAL2='" + ACCOUNT_RIVAL2 + '\'' +
                ", C='" + c + '\'' +
                '}';
    }

    public String getACCOUNT_BODY() {
        return ACCOUNT_BODY;
    }

    public void setACCOUNT_BODY(String ACCOUNT_BODY) {
        this.ACCOUNT_BODY = ACCOUNT_BODY;
    }

    public String getACCOUNT_BODY_CARD() {
        return ACCOUNT_BODY_CARD;
    }

    public void setACCOUNT_BODY_CARD(String ACCOUNT_BODY_CARD) {
        this.ACCOUNT_BODY_CARD = ACCOUNT_BODY_CARD;
    }

    public String getACCOUNT_RIVAL_CARD() {
        return ACCOUNT_RIVAL_CARD;
    }

    public void setACCOUNT_RIVAL_CARD(String ACCOUNT_RIVAL_CARD) {
        this.ACCOUNT_RIVAL_CARD = ACCOUNT_RIVAL_CARD;
    }

    public String getACCOUNT_RIVAL() {
        return ACCOUNT_RIVAL;
    }

    public void setACCOUNT_RIVAL(String ACCOUNT_RIVAL) {
        this.ACCOUNT_RIVAL = ACCOUNT_RIVAL;
    }

    public Integer getCOUNT() {
        return COUNT;
    }

    public void setCOUNT(Integer COUNT) {
        this.COUNT = COUNT;
    }

    public Integer getSIGN() {
        return SIGN;
    }

    public void setSIGN(Integer SIGN) {
        this.SIGN = SIGN;
    }

    public String getACCOUNT_RIVAL_CARD2() {
        return ACCOUNT_RIVAL_CARD2;
    }

    public void setACCOUNT_RIVAL_CARD2(String ACCOUNT_RIVAL_CARD2) {
        this.ACCOUNT_RIVAL_CARD2 = ACCOUNT_RIVAL_CARD2;
    }

    public String getACCOUNT_RIVAL2() {
        return ACCOUNT_RIVAL2;
    }

    public void setACCOUNT_RIVAL2(String ACCOUNT_RIVAL2) {
        this.ACCOUNT_RIVAL2 = ACCOUNT_RIVAL2;
    }

    public Integer getC() {
        return c;
    }

    public void setC(Integer c) {
        this.c = c;
    }

    public Timestamp getMinTime() {
        return minTime;
    }

    public void setMinTime(Timestamp minTime) {
        this.minTime = minTime;
    }

    public Timestamp getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(Timestamp maxTime) {
        this.maxTime = maxTime;
    }

    public Integer getRIVAL_COUNT() {
        return RIVAL_COUNT;
    }

    public void setRIVAL_COUNT(Integer RIVAL_COUNT) {
        this.RIVAL_COUNT = RIVAL_COUNT;
    }
}
